package com.classichu.jetpacksimple.data.local;

import android.arch.persistence.room.Database;
import android.arch.persistence.room.RoomDatabase;
import android.arch.persistence.room.TypeConverters;

import com.classichu.jetpacksimple.data.local.converter.ListTypeConverter;
import com.classichu.jetpacksimple.data.local.dao.ZhihuStoryDao;
import com.classichu.jetpacksimple.data.local.entity.ZhihuStory;


@Database(entities = {ZhihuStory.class}, version = 1, exportSchema = false)
@TypeConverters({ListTypeConverter.class})
public abstract class AppDatabase extends RoomDatabase {
    public abstract ZhihuStoryDao zhihuDao();
}
